package com.cyl.wms.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cyl.wms.domain.Address;
import com.cyl.wms.domain.Loader;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 载具Mapper接口
 * 
 * @author zcc
 */
public interface LoaderMapper extends BaseMapper<Loader> {
    /**
     * 查询货区列表
     *
     * @param area 货区
     * @return 货区集合
     */
    List<Loader> selectByEntity(Loader area);

    /**
     * 批量软删除
     * @param ids
     * @return
    */
    int updateDelFlagByIds(@Param("ids") Long[] ids);

    Loader findByLoaderNo(@Param("loaderNo") String loadNo);
}
